package com.zhou.core.redis;

import redis.clients.jedis.Protocol;

/**
 * Created by zhouyongjun on 2020/6/12
 */
public interface RedisConst {
    public static final String DEFAULT_FILE_NAME = "redis_logana.properties";
    String LOCK_SUCCESS = "OK";
    String SET_IF_NOT_EXIST = "NX";
    String SET_WITH_EXPIRE_TIME = "PX";

    String CONFIG_KEY_MAX_ACTIVE="redis.maxActive";
    String CONFIG_KEY_MAX_IDLE="redis.maxIdle";
    String CONFIG_KEY_MAX_WAIT="redis.maxWait";
    String CONFIG_KEY_TEST_ON_BORROW="redis.testOnBorrow";
    String CONFIG_KEY_TEST_ON_RETURN="redis.testOnReturn";
    String CONFIG_KEY_USE_INDEX="redis.useIndex";
    String CONFIG_KEY_IP="redis.ip";
    String CONFIG_KEY_PORT="redis.port";
    String CONFIG_KEY_TIMEOUT="redis.timeOut";
}
